/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package helloworld;

/**
 *
 * @author User
 */
public class HelloWorld {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        HelloWorld main = new HelloWorld();
main.printMessage(Language.ENGLISH);
main.printMessage(Language.ESPANOL);
main.printMessage(Language.FRANCAIS);
}
void printMessage(Language language) {
String message = null;
switch (language) {
case FRANCAIS:
message = "Bonjour le monde";
    break;
case ESPANOL:
message = "Hola Mundo";
break;
default:
message = "Hello World";
}
System.out.println(message);
}
enum Language {
ENGLISH, FRANCAIS, ESPANOL
    }
}